package com.jr.controller;

import com.jr.entry.ShippingAddress;
import com.jr.service.ShippingAddressService;
import com.jr.util.ResultObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sam/")
public class ShippingAddressController {
    @Autowired
    private ShippingAddressService shippingAddressService;
    @Autowired
    private ResultObject result;
    @RequestMapping("add")
    public ResultObject addSam(ShippingAddress shippingAddress){
        return result;
    }
    @RequestMapping("rem")
    public ResultObject removeSam(ShippingAddress shippingAddress){
        return result;
    }
    @RequestMapping("find")
    public ResultObject findSam(ShippingAddress shippingAddress){
        return result;
    }
    @RequestMapping("upd")
    public ResultObject updateSam(ShippingAddress shippingAddress){
        return result;
    }
}
